package com.colin.springboot.service.impl;

import com.colin.springboot.dao.UserMapper;
import com.colin.springboot.pojo.User;
import com.colin.springboot.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2017/8/3 0003.
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper  userMapper;
    @Override
    public List<User> queryAll() {
        return userMapper.queryAll();
    }
}
